package com.neo.service;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neo.entity.UserEntity;
import com.neo.mapper.FoodMapper;
import com.neo.mapper.UserMapper;
@Service
public class UserServiceImpl implements IUserService{

	@Autowired
	private FoodMapper foodMapper;
	
	@Autowired
	private  UserMapper userMapper;

	@Override
	public String getuser() {
	return	foodMapper.getFoodnameByFoodid(1,66);
	}
	
	@Override
	public 	List<UserEntity> getuserAll() {
		return userMapper.getAll();
	}
	
	
	
	
}
